.PHONY:all
all:tcp_sever tcp_client

tcp_sever:tcp_sever.cpp
	g++ -o $@ $^ -std=c++11 -lpthread
tcp_client:tcp_client.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf tcp_sever tcp_client